package br.com.moxeon.control.validator;

import java.util.Map;

import br.com.moxeon.model.enums.TypeThrowOperation;
import br.com.vexillum.control.validator.Validator;
import br.com.vexillum.util.Return;

public class ThrowOperationValidator extends Validator{

	public ThrowOperationValidator(Map<String, Object> mapData) {
		super(mapData);
	}
	
	public Return validateExecuteOperation() {
		Return ret = new Return(true);
		///checar se existe caixa aberto
		if( (TypeThrowOperation) mapData.get("operation") == TypeThrowOperation.LANCAMENTO_AVULSO)
		{
			///execute validação
		}
		return ret;
	}
	
}
